home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
050a
/
fview20.zip
/
FVIEW.DOC
next >
Wrap
Text File
|
1993-02-03
|
4KB
|
102 lines
FView Version 2.0
-----------------
Copyright 1991, 1993
COPYRIGHT NOTICE
This program is public domain and may be freely distributed, providing it is
distributed in the original archive form (or variation thereof, such as a
different archival program) and no charge is made for its redistribution,
except where charges are made for copying services and/or diskettes. The author
holds exclusive rights to the program. No warranty is made, neither expressed
or implied, as to the suitability of the program for a particular purpose. The
author shall not be liable for damages caused by the use, misuse, or abuse of
this program. The program may not be reverse engineered, nor modified.
DESCRIPTION
FView is a simple, text file viewer program. Since I didn't have one, nor was
able to quite find the one I liked, I built my own. (Like they say, if you
want something done right you gotta do it yourself.)
Usage is very simply:
FVIEW filename
This will scan through the specified file, then display it on screen. Much
like DOS's edlin, the filename MUST be specified.
While viewing the document, you can scroll up/down/left/right/etc... using
the cursor keys, page up/down keys, home and end keys (HOME takes you to the
beginning of the file, END takes you to the bottom). As you move around, the
current line and column will be display in the status bar.
Line 32 of 591 ( 1- 80) C:\TEXT.DAT
----- ----- ------- filename displayed here ^^^^^^^^^
| | |
| | +---------------- range of columns on screen
| |
| +----------------------- total number of lines in file
|
+--------------------------------- current line# of first line at the
top of the screen.
To search through a file, hit 'F'. This will bring up a box to type the text
in that you wish to search for. When you hit ENTER, it will begin searching
through the file, starting with the current screen. To quit from the input
box, hit ESC. Note that you cannot abort a search in progress.
While in the input box, standard editing keys are in effect, ie. left/right
cursor keys, home/end, insert, etc. Use CTRL-HOME to erase the input and start
over at the first position (CTRL-X also erases). When you first enter the box,
the last text string you entered will be displayed. You can edit this string or
start with a new one. If you begin typing characters immediately, before you
move the cursor, the previous text string will be erased first.
To continue a search, hit 'N'. This will continue the search from where the
last text was found (even if you've scrolled it off the screen). If you hit
'N' before you've selected text with 'F', then a box will be displayed for
you to enter the text.
Similarly, hitting 'P' will search backwards from the last found text. The
program will beep if you have hit 'P' before entering text with 'F'.
In all 3 cases, if the text string is not found, it will beep and display
"Search string not found". (It doesn't loop back around from the end of the
file to the beginning, or vice-versa).
-------------------------
Revision History
-------------------------
Date Version Changes
February 1993 2.0 Added Search feature.
Speeded up display when first scanning the file
by only displaying the percentage in 5% increments.
Changed method of programming by using a third
party 'C' Window Library (freely distributable).
-------------------------
---------------------
Contacting the author
---------------------
I can reached via CompuServe at [70620,1445], or via The Bear Cave BBS at
(416) 321-5015, or send NetMail to Chris Gordon @ 1:250/240.
Chris Gordon
----------------
Acknowledgements
----------------
P. A. McKenzie for the 'C' Window Library (Copyright 1990, 1991)